﻿<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>通用邮件模板</title>
    <style>
        #title1 {
            background: black;
        }

        #title1 > td {
            color: aliceblue;
            border-right: 1px solid white;
        }

        #title2 td {
            border-right: 1px solid black;
        }

        table {
            border-collapse: collapse;
            width: 100%;
            height: 25%;
            font-size: 2rem;
        }

        th, td {
            border: 1px solid black;
            text-align: center;
        }
    </style>
</head>
<body>
<h3>${context}</h3>
<table border="1">
    <tr id="title1">
        <#if title=="中期验货报告" || title=="尾期验货报告">
            <td> 项目号</td>
            <td> 生产科</td>
            <td> 内部编号</td>
            <td> 客户PO号</td>
            <td> 客户SYSTEM</td>
            <td> PO COLOR</td>
            <td> 订单图片</td>
            <td> 数量 </td>
            <td> 生产科拖货时间</td>
            <td> 包装类型</td>
            <td> 中期验货申请时间</td>
            <td> 中期验货（功能性-拉力/跌落等、外观性-颜色/规格等、耐力性-烤厅等）</td>
            <td> 中期验货结果PASS/FALL</td>
        <#elseif title=="尾期验货日期">
            <td> 客户编码</td>
            <td> 项目号</td>
            <td> 生产科</td>
            <td> 内部编号</td>
            <td> 客户PO号</td>
            <td> 客户SYSTEM</td>
            <td> PO COLOR</td>
            <td> 订单图片</td>
            <td> 生产要求</td>
            <td> 数量</td>
            <td> 生产科拖货时间</td>
        <#else>
            <td> 客户编码</td>
            <td> 项目号</td>
            <td> 生产科</td>
            <td> 内部编号</td>
            <td> 客户PO号</td>
            <td> 客户SYSTEM</td>
            <td> PO COLOR</td>
            <td> 订单图片</td>
            <td> 生产要求</td>
            <td> 数量</td>
            <td> 生产科拖货时间</td>
            <td> 订单上的HOD时间</td>
            <td> 出库类型</td>
        </#if>
    </tr>
    <tr id="title2">
        <#if title=="中期验货报告" || title=="尾期验货报告">
            <td>${data.baseInfo.projectNo! " "}</td>
            <td>${data.baseInfo.productionDepartment! " "}</td>
            <td>${data.baseInfo.internalNo! " "}</td>
            <td>${data.baseInfo.customerPo! " "}</td>
            <td>${data.baseInfo.customerStyle! " "}</td>
            <td>${data.baseInfo.poColor! " "}</td>
            <td><img src="${data.baseInfo.smallPicUrl! " "}" alt="Image"></td>
            <td>${data.baseInfo.orderCount! " "}</td>
            <td>${data.baseInfo.productionDepartmentConsignTime! " "}</td>
            <td>${data.baseInfo.packetType! " "}</td>
            <td>${data.inspectionStageInfo.midCheckApplyTime! " "}</td>
            <td>${data.inspectionStageInfo.midCheckComment! " "}</td>
            <td>${data.inspectionStageInfo.midCheckResult! " "}</td>
        <#elseif title=="尾期验货日期">
            <td>${data.baseInfo.customerCode! " "}</td>
            <td>${data.baseInfo.projectNo! " "}</td>
            <td>${data.baseInfo.productionDepartment! " "}</td>
            <td>${data.baseInfo.innerNo!" "}</td>
            <td>${data.baseInfo.customerPo!" "}</td>
            <td>${data.baseInfo.customerStyle!" "}</td>
            <td>${data.baseInfo.poColor!" "}</td>
            <td><img src="${data.baseInfo.smallPicUrl! " "}" alt="Image"></td>
            <td>${data.baseInfo.productionComment!" "}</td>
            <td>${data.baseInfo.orderCount! " "}</td>
            <td>${data.baseInfo.productionDepartmentConsignTime! " "}</td>
        <#else>
            <td>${data.baseInfo.customerCode! " "}</td>
            <td>${data.baseInfo.projectNo! " "}</td>
            <td>${data.baseInfo.productionDepartment! " "}</td>
            <td>${data.baseInfo.innerNo!" "}</td>
            <td>${data.baseInfo.customerPo!" "}</td>
            <td>${data.baseInfo.customerStyle!" "}</td>
            <td>${data.baseInfo.poColor!" "}</td>
            <td><img src="${data.baseInfo.smallPicUrl! " "}" alt="Image"></td>
            <td>${data.baseInfo.productionComment!" "}</td>
            <td>${data.baseInfo.orderCount! " "}</td>
            <td>${data.baseInfo.productionDepartmentConsignTime! " "}</td>
            <td>${data.baseInfo.orderHodTime! " "}</td>
            <td>${data.baseInfo.outboundType! " "}</td>
        </#if>
    </tr>
</table>
</body>
</html>
